/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GrupoD_Final;

import java.util.HashMap;

public class ImpUserContent implements UserContent {

    HashMap usercontent;
    //This function fill the local url of the user content

    public void setUrlContent(String userowner, String urlcontent) {
        this.usercontent.put(userowner, urlcontent);
    }
    //This function return a String with the local url  

    public String getUrlContent(String name) {
        String url = (String) usercontent.get(name);
        return url;

    }
}
